<?php echo $this->doctype();
?>
<html xmlns:fb="http://ogp.me/ns/fb#">
<?php
$title 			= $this->headTitle();
$description 	= $this->headDescription;
$key = $this->headKey;
?>
 <head>
     <link rel="icon" href="/images/sys/favicon.png" type="image/gif" sizes="16x16" />
     <meta name="Author" content="Toxic, vuquangchat@gmail.com" />
     <meta name="copyright" content="Copyright 2013" />
     <meta http-equiv="Content-Language" content="vi" />
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	<meta name="viewport" content="width=device-width; initial-scale=1.0;  maximum-scale=1.0">
	 
     <meta property='og:url' content='<?php echo $this->url;?>'/>
     <meta property='og:site_name' content='chatvd.com'/>

<?php
if($title == '<title></title>'){
?>
<meta name="title" content="Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga" />
<meta property='og:title' content='Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga'/>
<title>Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga</title>
<meta name="robots" content="INDEX,FOLLOW" />  
<meta name="description" content="Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga" />
<meta property='og:description' content='Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga' />
<meta name="keywords" content="Phim HD,nhac vang hay nhat, HBO,tivi online, thuy nga " />


<?php } else{?>

	 
	<?php 
	echo $title;?>
    <meta name="title" content="<?php echo $title[0]; ?>" />
    <meta property='og:title' content='<?php echo $title[0];?>'/>
	<meta name="robots" content="INDEX,FOLLOW" />  
	<meta name="description" content="<?php echo  stripcslashes(substr(strip_tags($description),0,165)).'....' ?>" />
	<meta property='og:description' content='<?php echo  stripcslashes(substr(strip_tags($description),0,165))."..." ?>' />
    <meta name="keywords" content="<?php echo $key ?>" />
    
    
      <meta property="og:image" 
	content="<?php echo $image; ?>" /> 
	
	<link href="<?php echo $image; ?>" rel="image_src" type="image/jpeg" /> 
	
	<?php } ?>
	
	<?php echo $this->headLink();?>
	<?php echo $this->headScript(); ?>
	<link type="text/css" rel="stylesheet" href="/css/jquery-ui.css"/>
    <link type="text/css" rel="stylesheet" href="/templates/default/css/style_mobi.css"/>
    <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/js/jquery-ui-1.9.1.custom.min.js"></script>
    <script type="text/javascript" src="/js/jquery.fmarquee.enc.js"></script>
    <script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="/js/jquery.vticker-min.js"></script>
    <script type="text/javascript">
    jQuery(function(){
    jQuery("#noti-box").vTicker({ 
    		speed: 300,
    		pause: 10000,
    		animation: 'fade',
    		mousePause: true,
    		showItems: 1
    	});
    });
</script>
 <script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-37406000-1', 'chatvd.com');
  ga('send', 'pageview');

</script>
<!--js check quang cao -->



</head>
